class Course:
    def __init__(self, number, name, teacher, location):
        self.number = number
        self.name = name
        self.teacher = teacher
        self.__location = location
    
    def show_info(self):
        print("课程信息：")
        print(f"编号：{self.number}")
        print(f"名称：{self.name}")
        print(f"任课教师：{self.teacher}")
        print(f"上课地点：{self.__location}")

# 创建Course类的对象
course = Course(1001, "语文", "张老师", "2号教学楼3305教室")
course.show_info()
